<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/style" href="resources/mytheme/css/normalize.css">
<link rel="stylesheet" type="text/style" href="resources/mytheme/css/browser.css">
<title>Reset your password</title>
</head>
	<body>
	<div id="header">
		<div id="logo">
			<img src="resources/mytheme/img/Logo.png" alt="RentFlix">
		</div>
		<div id="loginBar">
			<ul>
				<li><a class="lastlink" href="/MovieProject">Home</a> </li>
				<li><a class="firstlink" href="http://localhost:8080/MovieProject/register">Register</a> </li>
				
			</ul>
		</div>
	</div>
	<div id="bodyContainer3">
		<c:if test="${param.foundUser == 'false' }">
		<h2 class="bodyTitle">The email address you entered was not found. Please try again.</h2>
		</c:if>
		<c:choose>
			<c:when test="${param.emailSent == 'true' }">
			<h2 class="bodyTitle">Reset email sent! Please check your email and follow the instructions within.</h2>
			</c:when>
			<c:otherwise>
				<h2 class="bodyTitle">Enter your email address to reset your password:</h2>
				<div class="reset">
					<form name="resetForm" method="post">
						<input class="searchBox" type="text" name="emailField" />
						<input class="searchButton" type="submit" value="Submit" />
					</form>
				</div>
			</c:otherwise>
		</c:choose>
	</div>
	<div id="footer">
     	<div id="foota">
			<p>Get Help</p>
			<ul>
			  <li><a href="#">FAQ</a></li>
			  <li><a href="#">Help Center</a></li>
			  <li><a href="#">Account</a></li>
			  <li><a href="#">Questions</a></li>
			</ul>
			
			
			</div>
			<div id="footb"><p>Our Company</p>
			<ul>
			  <li><a href="#">About us </a></li>
			  <li><a href="#">Reviews  </a></li>
			  <li><a href="#">Jobs  </a></li>
			  <li><a href="#">Terms of Use</a></li>
			</ul>
			
			</div>
			<div id="footc"><p>Getting Started</p>
			<ul>
			  <li><a href="#">Free Trail Offer Details  </a></li>
			  <li><a href="#"> Redeem Your Gift</a></li>
			</ul>
		</div>
	</div>
	</body>
</html>